package com.bafarat;
import javax.swing.JOptionPane;

public class VirtualPetEngine {
 
    public static void main(String[] args) {
 
        Pet myPet = new Pet(null);
         
        myPet.name = "Spike";
        myPet.type = "Dog";
        myPet.color = "black";
      
        JOptionPane.showMessageDialog(null, "My pet's name is " + myPet.name);
        JOptionPane.showMessageDialog(null, "My pet is a " + myPet.type);
        JOptionPane.showMessageDialog(null, "My Pet's hair color is " + myPet.color);
      
         
        }//end main
 
}